package routers

import (
	"device-admin/internal/app/web/controller"

	"github.com/gin-gonic/gin"
)

func nonauth(rg *gin.RouterGroup) {
	rg.GET("/device/all", controller.Device{}.AllDeviceAd)                         // 所有设备
	rg.GET("/device/list", controller.Device{}.DeviceListAd)                       // 设备列表
	rg.GET("/device/detail", controller.Device{}.DeviceDetailAd)                   // 设备详情
	rg.GET("/location/area-location", controller.Location{}.AreaLocation)          // 区域位置列表
	rg.GET("/location/area-location-real", controller.Location{}.AreaLocationReal) // 区域位置列表
}
